<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function method01() {
            var c = function (){         //在函数中可以创建心得函数  但是这些函数不需要名字
                console.log("c method");
            };
            c();
            return 1 ;
        }
        let a = method01(10,20,30,40);
        let b = method01;
        console.log("a=" + a);
        console.log("b=" + b);
        b();
    </script>
</head>
<body>
<button>按钮</button>
</body>
</html>